home *** CD-ROM | disk | FTP | other *** search
- /* $Id: PATCH2F.H 1.5 1995/09/29 18:33:31 YannPC Exp $ */
-
- #ifndef __PATCH2F__
- #define __PATCH2F__
-
- // Bicubic Patch to facets routine
-
- struct FACET3D;
- struct PATCH3D;
-
- typedef void (*ForEachFacetCallBack)(FACET3D* facet, void* priv);
-
- // Constants for the error parameter. The smaller the error value, the more facets will be generated
- #define kManyFacetsError 0x2BC
- #define kStandardFacetsError 0x1000
- #define kFewfacetsError 0x2000
-
-
- void ConvertPatch2Facets(const PATCH3D& patch, long error, ForEachFacetCallBack callback, void* priv);
-
-
-
- #endif
-